package com.File;

import java.io.File;

public class Main37 {
    public static void main(String[] args) throws Exception{
        File file = null;
        File dir=new File("D:\\ex01\\Java\\src\\com\\File\\Main37.java");
        file = File.createTempFile("Javatemp", ".javatemp", dir);
        System.out.println(file.getPath());
    }
}
